package com.dto;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;

@JsonIgnoreProperties(ignoreUnknown = true)
public class CommentsDTO {

	@JsonProperty
	private String self;

	@JsonProperty
	private String id;

	@JsonProperty
	private UserDTO author;

	@JsonProperty
	private String body;

	@JsonProperty
	private UserDTO updateAuthor;

	@JsonProperty
	private Date created;

	@JsonProperty
	private Date updated;

	public String getSelf() {
		return self;
	}

	public void setSelf(String self) {
		this.self = self;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public UserDTO getAuthor() {
		return author;
	}

	public void setAuthor(UserDTO author) {
		this.author = author;
	}

	public String getBody() {
		return body;
	}

	public void setBody(String body) {
		this.body = body;
	}

	public Date getCreated() {
		return created;
	}

	public void setCreated(Date created) {
		this.created = created;
	}

	public Date getUpdated() {
		return updated;
	}

	public void setUpdated(Date updated) {
		this.updated = updated;
	}

	public UserDTO getUpdateAuthor() {
		return updateAuthor;
	}

	public void setUpdateAuthor(UserDTO updateAuthor) {
		this.updateAuthor = updateAuthor;
	}

}
